package com.example.booksystem.biz;

import com.example.booksystem.bean.MemberType;
import com.example.booksystem.dao.MemberTypeDao;

import java.sql.SQLException;
import java.util.List;

public class MemberTypeBiz {
    MemberTypeDao dao =new MemberTypeDao();
    public List<MemberType> getAll(){
        return dao.getAll();
    }
    public MemberType getById(long id){
        return dao.getById(id);
    }
}
